﻿using System.Collections.Generic;
using eCommerce.Core.Domain.Pictures;
using eCommerce.Core.Domain.Products;

namespace eCommerce.Models.Product
{

    public class ProductPicModel
    {

        public string ClientUploaderId { get;set; }
        public int Id { get; set; }
        public string Url { get; set; }

        public string DefaultProductPicUrl { get; set; }
    }
    public class ItemCatalogGroup
    {
        public int ProductAttributeValueId { get; set; }

        public ProductAttributeValue ProductAttributeValue { get; set; }
        public int IconPictureId { get; set; }


        public string UploaderIconPicClientId { get; set; }
        public string DefaultIconPicUrl { get; set; }

    

        public IList<ItemCatalogModel> ItemCatalogs { get; set; }

        public IList<ProductPicModel> ProductPictures { get; set; }
    }

    public class ItemCatalogModel
    {
        public ProductAttributeValue ProductAttributeValue { get; set; }
        public int? ProductAttributeValueId { get; set; }

        public ItemAttributeValue ItemAttributeValue { get; set; }

        public int? ItemAttributeValueId { get; set; }
        public int Stock { get; set; }

        public decimal Price { get; set; }

        public Picture Picture { get; set; }

    }
}